package com.kuaixueit.crm.mapper;

import java.util.List;
import java.util.Map;

import com.kuaixueit.crm.pojo.CStaff;
import com.kuaixueit.crm.pojo.QueryVO;

public interface CStaffMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CStaff record);

    int insertSelective(CStaff record);

    CStaff selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CStaff record);

    int updateByPrimaryKey(CStaff record);

	List<CStaff> findList(QueryVO query);
	
	List<Map> findListWithPname(QueryVO query);
	
	List<Map> findAdmin();
}